package com.agile.major.service;

import com.agile.major.domain.BaseDictionaries;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Service Interface for managing BaseDictionaries.
 */
public interface BaseDictionariesService {

    /**
     * Save a baseDictionaries.
     *
     * @param baseDictionaries the entity to save
     * @return the persisted entity
     */
    BaseDictionaries save(BaseDictionaries baseDictionaries);

    /**
     *  Get all the baseDictionaries.
     *
     *  @param pageable the pagination information
     *  @return the list of entities
     */
    Page<BaseDictionaries> findAll(Pageable pageable);

    /**
     *  Get the "id" baseDictionaries.
     *
     *  @param id the id of the entity
     *  @return the entity
     */
    BaseDictionaries findOne(Long id);

    /**
     *  Delete the "id" baseDictionaries.
     *
     *  @param id the id of the entity
     */
    void delete(Long id);

    List findByType(String type);
}
